package com.newtouch.bxzs.common.base.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据字典项实体类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/5</td>
 * <td>zhangqianyang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author zhangqianyang
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@TableName("ASSISTANT_DATA_DICTIONARY_ENTRY")
public class DataDictionaryEntry implements Serializable {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -5270373147903380652L;

    /**
     * 数据字典项ID
     */
    @TableId(value = "DATA_DICTIONARY_ENTRY_ID",type = IdType.ASSIGN_UUID)
    private String dataDictionaryEntryId;

    /**
     * 数据字典项名称
     */
    @TableField(value = "DATA_DICTIONARY_ENTRY_NAME")
    private String dataDictionaryEntryName;

    /**
     * 数据字典项值
     */
    @TableField(value = "DATA_DICTIONARY_ENTRY_VALUE")
    private String dataDictionaryEntryValue;

    /**
     * 简称
     */
    @TableField(value = "DATA_DICTIONARY_ENTRY_ABBREVIATION")
    private String dataDictionaryEntryAbbreviation;

    /**
     * 启用状态;启用true；不启用false
     */
    @TableField(value = "IS_ENABLE")
    private Boolean enableFlag;

    /**
     * 数据字典ID
     */
    @TableField(value = "DATA_DICTIONARY_ID")
    private String dataDictionaryId;

    /**
     * 创建人Id
     */
    @TableField(value = "CREATE_USER_ID")
    private String createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 修改人Id
     */
    @TableField(value = "UPDATE_USER_ID")
    private String updateUserId;

    /**
     * 修改时间
     */
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 是否删除：已删除true；未删除false
     */
    @TableLogic(value = "0", delval = "1")
    @TableField(value = "IS_DELETE")
    private Boolean deleteFlag;

    /**
     * 备注
     */
    @TableField(value = "MEMO")
    private String memo;
}
